package com.koron.order.overhaul.service;

import com.koron.order.overhaul.bean.entity.OverhaulOrderBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderQuery;
import com.koron.order.overhaul.bean.vo.OverhaulOrderDetailVO;
import com.koron.order.overhaul.bean.vo.OverhaulOrderMajorFormVO;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: MobileOverhaulOrder
 * @projectName GDH_EAM_V2
 * @description: mobile-待修工单
 * @date 2021/11/1116:45
 */
public interface MobileOverhaulOrderService {

    OverhaulOrderDetailVO queryById(SessionFactory factory, String orderId);

    List<OverhaulOrderBean> queryList(SessionFactory factory, OverhaulOrderQuery query);

    String executeSaveOrUpdate(SessionFactory factory, List<OverhaulOrderMajorFormVO> vos);

    String updateStatus(SessionFactory factory, OverhaulOrderBean bean);
}
